package com.ecb.business.service;

import com.ecb.business.dto.contract.manage.ContractDTO;
import com.ecb.business.dto.contract.manage.SearchContractDTO;
import com.ecb.business.po.ChainContractPO;

import java.util.List;

public interface ContractManageService {
    List<ChainContractPO> getAllContractByChainId(SearchContractDTO searchContractDTO);

    boolean addContract(ContractDTO dto);

    boolean updateContract(ContractDTO dto);

    boolean deleteContract(ContractDTO contractDTO);
}
